<div class="uk-grid">
    <div class="uk-width-3-4@l">
        <!--if{$nodeInfo}-->
        <div class="uk-card uk-card-default uk-card-small">
            <div class="uk-card-header">
                {$nodeInfo.name}
            </div>
            <div class="uk-card-body">{$nodeInfo.description}</div>
        </div>
        <!--{/if}-->
        <!--if{$tagInfo}-->
        <div class="uk-card uk-card-default uk-card-small">
            <div class="uk-card-header">
                <span class="uk-label uk-text-md uk-label-success">{$tagInfo.name}</span>
            </div>
            <div class="uk-card-body">{$tagInfo.quote} 个讨论 · {date_tran($tagInfo.update_time)}更新</div>
        </div>
        <!--{/if}-->

        <div class="uk-card uk-card-default uk-card-small">
            <div class="uk-card-header">
                <ul class="dux-topic-filter uk-clearfix">
                    <li <!--if{!$pageParams.filter}--> class="active" <!--{/if}-->>
                    <a href="{url('', ['id'=>$nodeInfo.node_id])}">活跃</a>
                    </li>
                    <li <!--if{$pageParams.filter == 1}--> class="active" <!--{/if}-->>
                    <a href="{url('', ['id'=>$nodeInfo.node_id, 'filter' => 1])}">精华</a>
                    </li>
                    <li <!--if{$pageParams.filter == 2}--> class="active" <!--{/if}-->>
                    <a href="{url('', ['id'=>$nodeInfo.node_id, 'filter' => 2])}">置顶</a>
                    </li>
                    <li <!--if{$pageParams.filter == 3}--> class="active" <!--{/if}-->>
                    <a href="{url('', ['id'=>$nodeInfo.node_id, 'filter' => 3])}">最近</a>
                    </li>
                </ul>
            </div>
            <ul class="uk-list dux-topic-list">
                <!--if{empty($pageList)}-->
                <div class="uk-padding uk-text-center">
                    暂无发表主题
                </div>
                <!--{/if}-->

                <!--loop{$pageList as $vo}-->

                <li class="uk-flex">
                    <div class="avatar">
                        <a href="{url('topics/User/index', ['id' => $vo.user_id])}">
                            <img class="uk-border-circle" alt="Summer"
                                 src="{$vo.avatar}">
                        </a>
                    </div>
                    <div class="info uk-flex-1">
                        <div class="info-title">

                            <a href="{url('topics/Node/index', ['id' => $vo.node_id])}">
                                <!--if{$vo.attr_top}-->
                                <span class="uk-label uk-label-warning">
                                <!--elseif{$vo.attr_excellent}-->
                                <span class="uk-label uk-label-success">
                                    <!--{else}-->
                                    <span class="uk-label uk-label-default">
                                        <!--{/if}-->
                                        {$vo.node_name}</span>
                            </a>

                            <a href="{$vo.url}">
                                {$vo.title}
                            </a>
                        </div>
                    </div>
                    <div class="count">
                        <span class="count-item">{$vo.reply_num}</span>
                        <span class="count-separ">/</span>
                        <span class="count-item">{$vo.views}</span>
                        <span class="count-separ">|</span>
                        <span class="count-item uk-text-sm">
                            {date_tran($vo.update_time)}
                        </span>
                    </div>
                </li>
                <!--{/loop}-->
            </ul>
        </div>
        {$page}
    </div>
    <div class="uk-width-1-4@l">
        <!--include{app/topics/view/theme/common/sidebar_node}-->
        <br>
        <!--include{app/topics/view/theme/common/sidebar_tag}-->
        <br>
        <!--include{app/topics/view/theme/common/sidebar_hot}-->
        <br>
        <!--include{app/topics/view/theme/common/sidebar_excellent}-->
    </div>

</div>